package com.qf.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
public class User  implements Serializable {

	private Integer id;

	private String username;

	private Integer gender;
	@DateTimeFormat(pattern = "yyyy/MM/dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private java.util.Date registTime;

}
